package cn.hwadee.muying.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import cn.hwadee.muying.commons.base.BaseModel;

/**
 * <p>
 * 设备
 * </p>
 *
 * @author Mankind
 * @since 2018-07-18
 */
public class Building extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 所属机构id
     */
    @TableField("org_id")
        
    private Long orgId;
    /**
     * 有人云设备id
     */
    @TableField("device_id1")
        
    private String deviceId1;
    /**
     * 有人云设备id
     */
    @TableField("device_id2")
        
    private String deviceId2;
    /**
     * 有人云设备id
     */
    @TableField("device_id3")
        
    private String deviceId3;
    /**
     * 有人云设备id
     */
    @TableField("device_id4")
        
    private String deviceId4;
    /**
     * 设备名称
     */
        
    private String name;
    /**
     * 有人云账号
     */
        
    private String account;
    /**
     * 有人云密码
     */
        
    private String password;
    /**
     * 是否为有人云设备
     */
        
    private Boolean cloud;
    /**
     * 是否启用预测
     */
        
    private Boolean forecast;
    /**
     * 楼栋系统图
     */
    @TableField("system_image")
        
    private String systemImage;
        
    private Integer interval;


    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getDeviceId1() {
        return deviceId1;
    }

    public void setDeviceId1(String deviceId1) {
        this.deviceId1 = deviceId1;
    }

    public String getDeviceId2() {
        return deviceId2;
    }

    public void setDeviceId2(String deviceId2) {
        this.deviceId2 = deviceId2;
    }

    public String getDeviceId3() {
        return deviceId3;
    }

    public void setDeviceId3(String deviceId3) {
        this.deviceId3 = deviceId3;
    }

    public String getDeviceId4() {
        return deviceId4;
    }

    public void setDeviceId4(String deviceId4) {
        this.deviceId4 = deviceId4;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getCloud() {
        return cloud;
    }

    public void setCloud(Boolean cloud) {
        this.cloud = cloud;
    }

    public Boolean getForecast() {
        return forecast;
    }

    public void setForecast(Boolean forecast) {
        this.forecast = forecast;
    }

    public String getSystemImage() {
        return systemImage;
    }

    public void setSystemImage(String systemImage) {
        this.systemImage = systemImage;
    }

    public Integer getInterval() {
        return interval;
    }

    public void setInterval(Integer interval) {
        this.interval = interval;
    }

    public static final String ORG_ID = "org_id";

    public static final String DEVICE_ID1 = "device_id1";

    public static final String DEVICE_ID2 = "device_id2";

    public static final String DEVICE_ID3 = "device_id3";

    public static final String DEVICE_ID4 = "device_id4";

    public static final String NAME = "name";

    public static final String ACCOUNT = "account";

    public static final String PASSWORD = "password";

    public static final String CLOUD = "cloud";

    public static final String FORECAST = "forecast";

    public static final String SYSTEM_IMAGE = "system_image";

    public static final String INTERVAL = "interval";

    @Override
    public String toString() {
        return "Building{" +
                ", orgId=" + orgId +
                ", deviceId1=" + deviceId1 +
                ", deviceId2=" + deviceId2 +
                ", deviceId3=" + deviceId3 +
                ", deviceId4=" + deviceId4 +
                ", name=" + name +
                ", account=" + account +
                ", password=" + password +
                ", cloud=" + cloud +
                ", forecast=" + forecast +
                ", systemImage=" + systemImage +
                ", interval=" + interval +
        "}";
    }
}
